package com.lkj;

import com.lkj.bean.EnableUserBean;
import com.lkj.bean.User;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@EnableUserBean
public class UserApplication {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(UserApplication.class);
        User bean = context.getBean(User.class);
        System.out.println(bean);
    }

}
